Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext

RE: Automate Domino start on Linux Box
~Mario Lopkistergon 14.Jan.04 05:46 PM a Web browser
Domino Server 6.0.2 CF2 Linux - RedHat


All you need to do is make sure you have a script in the /etc/rc.d/init.d directory. Make sure you have the server starting for the mode you are booting up (like 3 text mode or 5 graphic mode).

I named my file domino.
<notes home directory> Is for you type in the user directory home for the domino user.
<domino notesdata directory> Is the location of the notesdata directory.

This domino service script references a startnotes script in the domino user's home directory. The script did a "cd <domino notesdata directory>"

-----------start of script--------------
#!/bin/sh
#
# Start/stop the Lotus Domino server
#
# chkconfig: 345 95 95
# description: This script is used to start and stop the domino
# server as a background process. It will send
# the serverID password from a file to the server.
# Communication with the server has to be done through
# console, Notes Administrator or webadmin.
#
# Usage: /etc/rc.d/init.d/domino start|stop
#
# process name: server, ...
#

# See how we were called.

case $1 in

start)

echo -n "Starting Domino server..."

su - notes -c "screen -d -m -S Domino <notes home directory>/startnotes"

echo "done."
;;

stop)
echo -n "Stopping Domino server. "

su - notes -c "cd /opt/local/notesdata; /opt/lotus/bin/server -q"
;;

*)
echo "Usage: domino {start|stop}"
exit 1
;;

esac

exit 0
# End of the domino strip
----------------end of script----------------

Now I have screen installed on the linux box. (which allows me to login as the domino user and do a screen -dr to get to the console screen).

This script (which is like the NT service) will only do a start or stop. /sbin/service domino start or /sbin/service domino stop.

Hope it helps -- Cheers -- Email me if you want the exact scripts I use.




Automate Domino start on Linux Box (~Miriam Quetboo... 14.Jan.04)
. . RE: Automate Domino start on Linux ... (~Gus Deskrotexo... 14.Jan.04)
. . RE: Automate Domino start on Linux ... (~Mario Lopkiste... 14.Jan.04)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS